package com.pig4cloud.pig.village.rules;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * fact类：需要与规则适配的类，包括适配的结果
 * @author limbray.li
 * @date 2021/7/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class VillagerData {
	//当前已知的事实：村民\户\队信息
	private Long villagerId;
	private Integer tenantId;
	//其他属性-个人
	private Integer age;//年龄
	private Integer registerType;	//户籍类型
	private Integer livingType;		//居住类型
	private Integer outsider;		//外来家属
	private Integer partyMember;	//党员
	private Integer birthMonth;		//出生月
	private Integer birthDay;		//出生日
	private Integer specialFamily;	//特殊家庭
	private Integer hardGroup;		//困难人群
	private Integer army;			//拥军拥属
	private Integer school;			//学校
	private Integer retiredCaptain;	//老队长
	private Integer retiredPrincipal;	//老正副职

	//得到规则执行的结果：金额变化，是否匹配中
	private String amount;
	private boolean match;
}
